//
//  BSNewViewController.m
//  Baisijie
//
//  Created by 王建伟 on 2017/3/1.
//  Copyright © 2017年 RangGuangyu. All rights reserved.
//

#import "BSNewViewController.h"
#import "UIBarButtonItem+Extension.h"

@interface BSNewViewController ()

@end

@implementation BSNewViewController

- (void)setupNav {
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"MainTitle"]];
    self.navigationItem.titleView = imageView;
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:@"review_post_nav_icon" highlightImage:@"review_post_nav_icon_click" target:self action:@selector(leftItemClick)];
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem itemWithImage:@"nav_search_icon" highlightImage:@"nav_search_icon_click" target:self action:@selector(rightItemClick)];
}
- (void)leftItemClick {
    BSLog(@"%s",__func__);
}
- (void)rightItemClick {
    BSLog(@"%s",__func__);
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    [self setupNav];
}


@end
